package xyz.robinbingo.cloud.consumer.aa;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Robin
 * @create 2018-01-09 16:36
 * @desc
 **/
@FeignClient(value = "producer")
public interface ProducerService {

    @RequestMapping(value = "/hello")
    String hello(@RequestParam(value = "name") String name);
}
